//
//  XDSelectCourseData.m
//  XDEducation
//
//  Created by apple on 2017/4/14.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDSelectCourseData.h"

@implementation XDSelectCourseData

+(NSMutableArray *)getSelectCourseData{
    
    //1.选择科目
    NSArray *courseArr = [NSArray arrayWithObjects:
                          @{@"name":@"语文"},
                          @{@"name":@"数学"},
                          @{@"name":@"英语"},
                          nil];
    
    
    //2.选择年级
    NSArray *gradeArr = [NSArray arrayWithObjects:
                         @{@"name":@"一年级"},
                         @{@"name":@"二年级"},
                         @{@"name":@"三年级"},
                         @{@"name":@"四年级"},
                         @{@"name":@"五年级"},
                         @{@"name":@"六年级"},
                         nil];
    
    //3.选择学期
    NSArray *termArr = [NSArray arrayWithObjects:
                        @{@"name":@"上学期"},
                        @{@"name":@"下学期"},
                        nil];
    
    NSMutableArray *dataArr = [NSMutableArray arrayWithObjects:
                               @{@"name":@"选择科目",@"item":courseArr},
                               @{@"name":@"选择年级",@"item":gradeArr},
                               @{@"name":@"选择学期",@"item":termArr},
                               nil];
    return dataArr;
}

+(NSMutableArray *)getGradeCourseData{
    //1.选择年级
    NSArray *gradeArr = [NSArray arrayWithObjects:
                         @{@"name":@"一年级"},
                         @{@"name":@"二年级"},
                         @{@"name":@"三年级"},
                         @{@"name":@"四年级"},
                         @{@"name":@"五年级"},
                         @{@"name":@"六年级"},
                         nil];
    
    //2.选择学期
    NSArray *termArr = [NSArray arrayWithObjects:
                        @{@"name":@"上学期"},
                        @{@"name":@"下学期"},
                        nil];
    
    NSMutableArray *dataArr = [NSMutableArray arrayWithObjects:
                               @{@"name":@"选择年级",@"item":gradeArr},
                               @{@"name":@"选择学期",@"item":termArr},
                               nil];
    return dataArr;

}
@end
